# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.

from odoo import fields, models, api

class Users(models.Model):
    _inherit = "res.users"

    @api.model
    def format_mail(self, code, *args, **kwargs):
        # 用于 继承, 重写, 定义 邮件的格式
        print( 'format_mail', code )

        return code
        